<%@page import="java.net.URLDecoder"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
	<head>
		<meta charset="UTF-8">
		<title>修改商品</title>
		<style>
		*{
		margin:0;
		padding:0;
		}
		.box{
			width:100%;
			height:46px;
			background-color:lightskyblue;
			box-shadow: 1px 1px 1px #E0E0E0;
			margin-bottom: 2px;
		}
		.box_center{
			width:1200px;
			height: 100%;
			margin: 0 auto;

		}
		a{
			text-decoration:none;
		}

		.box_center_b{
			width:100%;
			height: 45px;

		}
		.box_center_b ul{
			margin-left: 200px;
			text-align: center;

		}
		.box_center_b li{
			list-style:none;
			float:left;
			margin-left:80px;
			color:#666;
			font-family: "微软雅黑";
			font-size: 16px;
			margin-top: 19px;

		}

		.box_center_b a {
			width: 100px;
			height: 28px;
			color: #666;
			text-align: center;
		}
		.box_center_b a:hover {
			cursor:pointer;
			color:#136fb8;
			text-align: center;
			text-decoration: none;
			border-bottom: 1px solid #136fb8;
		}

		.a2{
			float:left;
			line-height: 5px;
		}
		.boo{
			width: 100%;
			height:650px;
			background-image: url(img/5.jpg);
			background-position-x:50% ;
			background-position-y:40%;
			background-repeat:no-repeat;
			border: 1px solid rgba(55,55,55,0.1);
			
		}
		
		
			.zhuce{
				width: 500px;
				height: 400px;
				border: 1px solid #D43F3A;
				border-radius:15px;
				
				margin: 0 auto;
				margin-top:100px;
			}
			p{
				text-align: center;
				font-size: 24px;
			}
			input{
				margin-top: 20px;
				height: 35px;
				
			}
		select{
			margin-top: 20px;
			height: 35px;
			width: 173px;
		}
			form{
				font-size: 18px;
			}
			
		</style>
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.2.1.js"/>
		<script type="text/javascript">

		</script>
	</head>
	<body>
	<div class="box">
		<div class="box_center">
			<a href="/toGoods" style="line-height: 45px;float: left">返回</a>
		</div>
	</div>
	<div class="boo">
	
		<div class="zhuce">
			<p>----------------编辑商品-----------------</p>
			<h4 style="color: red; font-size: 12px;margin-top: 50px">${message}</h4>
			<form action="/editBook" method="post" style="text-align: center">
				商品图片：<input type="text" name="bookId" value="${book.bookId}" style="display: none" /><br />
				商品图片：<input type="text" name="picture" value="${book.picture}" /><br />
				商品名称：<input type="text" name="bookName" value="${book.bookName}"/><br />
				商品价格：<input type="text" name="price" value="${book.price}"/><br />
				商品分类：<select name="catalogId">
				<option value="1">C语言程序设计</option>
				<option value="2">java开发</option>
				<option value="3">数据库</option>
				<option value="4">网页编程</option>
				<option value="5">框架</option>
							</select><br />
				<input style="width: 150px;" type="submit" value="保存" />

				</form>
				<%-- <a href="zhuce.jsp"><input style="width: 150px; margin-left:140px;" type="submit" value="注册" /></a>--%>
			
		</div>
	</div>
	</body>
</html>